PROJECT(mainproject)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

SET(SRC_APP main.c)
ADD_EXECUTABLE(bes ${SRC_APP})
TARGET_LINK_LIBRARIES(bes pthread syscore sysm datam dataproc msgproc sqlite
    pa gpsctrl gsm cdma ndb pwr eutran asncpprrc asncrrc asnrt sysMonitor logserver clogger wcdma
    tdscdma wifi scanner cm wifiboard gpsboard)

INSTALL(TARGETS bes
    RUNTIME DESTINATION bin
)
INSTALL(PROGRAMS lanuch_app.sh
    DESTINATION /etc
)
